package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.SpuInfoSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author xjx
 * @email xiajinxiang163@163.com
 * @date 2021-04-11 14:20:25
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuInfoSaveVo spuInfo);

    PageUtils queryPageByCodition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSkuInfoBySkuId(Long skuId);
}

